package com.aliyun.messagemgt.repository.mappers;

import com.aliyun.messagemgt.dto.ChannelNo;
import com.aliyun.messagemgt.dto.query.ChannelNoQuery;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;

import java.util.List;

public interface ChannelNoMapper {

    Page<ChannelNo> listChannelNoByRole(ChannelNoQuery channelNoQuery);

    int delChannelNo(ChannelNoQuery channelNoQuery);

    int hiddenChannelNo(ChannelNoQuery channelNoQuery);

    int modChannelNo(ChannelNo channelNo);

    ChannelNo detailChannelNo(ChannelNoQuery channelNo);

    int insertUserInfoList(@Param("list") List list) throws DataAccessException;

}
